package com.bitcola.entity;


import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

@Data
@Table(name = "ag_admin_v1.cola_labs_project")

public class ApplyProject {

    @Id
    String id;


    @Column(name = "coin_code_icon")
    String coinCodeIcon;
    @Column(name = "title")

    String title;
    @Column(name = "introduction")

    String introduction;



    @Column(name = "coin_code")
    String coinCode;
    @Column(name = "coin_code_full_name")

    String coinCodeFullName;
    @Column(name = "symbol")

    String symbol;
    @Column(name = "status")

    String status;

    @Column(name = "start_time")

    Date startTime;
    @Column(name = "end_time")
    Date endTime;


    @Column(name = "total_number")

    BigDecimal totalNumber;
    @Column(name = "price")

    BigDecimal price;
    @Column(name = "remain_number")

    BigDecimal remindNumber;
    @Column(name = "round")

    int round;
    @Column(name = "total_round")

    int totalRound;
    @Column(name = "scale")

    int scale;
    @Column(name = "title_image")


    String titleImage;
    @Column(name = "buy_max_amount")

    BigDecimal buyMaxAmount;
    @Column(name = "buy_min_amount")
    BigDecimal buyMinAmount;

    @Column(name = "max_dudect")

    BigDecimal maxDudect;

    @Column(name="rush")

    Integer rush;
    @Column(name = "dudect")

    BigDecimal dudect;


    @Column(name = "real_amount")
    @JSONField(serialize = false)
    BigDecimal  realAmount;

    @Column(name="type")
    String type;


}
